Towards ANSI C Program Slicing using XML
نویسندگان
چکیده
In this paper, we consider ANSI C program slicing using XML (Extensible Markup Language). Our goal is to build a flexible, useful and uniform data interchange format for CASE tools, which is a key issue to make it much easier to develop CASE tools such as program slicers. Although XML has a great potential for such data interchange formats, we first point out that there are still a lot of challenging problems to be solved. Then, as a first step to our goal, we introduce ACML (ANSI C Markup Language), which describes the syntactic structure and static semantics for ANSI C code. In our preliminary experiment, we had a good result; it took only 0.5 man-month to implement Weiser’s slicer based on ACML, whereas it took about 2 man-months to implement an ANSI C parser and static semantics analyzer of XCI (Experimental C Interpreter).
منابع مشابه
Using the Unravel Program Slicing Tool to Evaluate High Integrity Software
This paper describes a program slicing tool, unravel, that can assist in the evaluation of high integrity software by using program slices to extract a single computation from a program for examination and test. The tool, available through the National Institute of Standards and Technology, can currently be used to evaluate software written in ANSI C and is designed such that other languages ca...
متن کاملSlicing Pointers and Procedures (abstract)
Program slicing restricts attention the components of a program relevant to evaluation of one expression, the slicing criterion. Our slicer, which explicitly represents the store as an aggregate value is the rst to support arbitrary pointer manipulations and aggregate values, and is faster than more limited techniques. We also improve the asymptotic complexity of slicing in the presence of proc...
متن کاملAlEx4C: Algorithm Extractor for C Program
The paper discusses a system that generates an English language text, which explains the algorithms implemented in a program written in ANSI C language. The system will help students of introductory programming courses understand C language source code. This paper discusses an approach which makes use of two methods: program slicing and text generation. Program Slicing eliminates those parts of...
متن کاملUsing a Program Slicing Case Tool for Evaluating High Integrity Software Systems
This paper describes a Computer Aided Software Engineering (CASE) tool, unravel, that can assist in the evaluation of high integrity software by using program slices to extract a software channel of code for examination and test. The tool, available through the National Institute of Standards and Technology, can currently be used to evaluate software written in ANSI C and is designed such that ...
متن کاملA new algorithm for the calculation of transitive dependences
Program slicing can be used to aid in a variety of software maintenance activities including code understanding, code testing, debugging, and program reengineering. Program slicing (as well as other program analysis functions including ripple analysis) can be efficiently performed on an internal program representation called a system dependence graph (SDG). This paper will describe a new method...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 65 شماره
صفحات -
تاریخ انتشار 2002